#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QSqlDatabase>
#include "newfile.h"
#include "openfile.h"
#include "patientfile.h"

#include <QMainWindow>

#include <QProcess>



namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();


private slots:
    void on_btn_press_clicked();


    void on_breakingGame_toolButton_clicked();

    void on_footballGame_toolButton_clicked();

    void on_mazeGame_toolButton_clicked();

    void on_btn_file_clicked();

private:
    Ui::MainWindow *ui;
    QSqlDatabase db;
    OpenFile *openFile;
    NewFile *newfile;
    PatientFile *patientFile;

};

#endif // MAINWINDOW_H
